package com.angel.common;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommonMapper<T> {
    List<T> findAll(@Param("entity")T t);

    List<T> findById(@Param("id") Long id);
}
